<?php

namespace App\Policies\Community\Statuses;

use Illuminate\Auth\Access\HandlesAuthorization;
use App\Models\User;
use App\Models\Community\Status;

class StatusesPolicy
{
    use HandlesAuthorization;

    public function destroy(User $user, Status $status):bool
    {
        return $user->isAuthorOf($status);
    }
}
